# -*- coding = utf-8 -*-
# @Time    : 2025/3/12 下午4:44
# @Author  : yqk
# @File    : 函数.py
# @Software: PyCharm

def add(a, b):
    return a + b
def sub(a, b):
    return a - b
def mul(a, b):
    return a * b

print(add(1, 2))

# 局部变量和全局变量
def test():
    a = 1
    print(a)
    a =2
    print(a)


